import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class RotatedBoxDemo extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('RotatedBox'),
        centerTitle: true,
      ),
      body: Container(
        alignment: Alignment.center,
        child: RotatedBox(
          quarterTurns: 3,//90°的整倍数，逆时针方向计数
          child: Text('你好'),
        ),
      ),
    );
  }

}